<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
xmlns:WC="wgcontrols">
  <xsl:template match="WC:Controls.CodeTextArea" mode="modContent">
    <!--<input id="{@Id}_TXT" type="text" value="{@Attr.Text}" />-->
    <div id="{@Id}_DIV" style="width:100%;height:100%;border:1px solid black">
      <xsl:attribute name="onfocus">
        mobjApp.CodeTextArea_Focus(this, event, '<xsl:value-of select="@Id" />')
      </xsl:attribute>
      <xsl:attribute name="onblur">
        mobjApp.CodeTextArea_Blur(this, event, '<xsl:value-of select="@Id" />')
      </xsl:attribute>
      <xsl:attribute name="onkeydown">
        mobjApp.CodeTextArea_KeyDown(this, event, '<xsl:value-of select="@Id" />')
      </xsl:attribute>
      <xsl:attribute name="onkeypress">
        mobjApp.CodeTextArea_KeyPress(this, event, '<xsl:value-of select="@Id" />')
      </xsl:attribute>
      <ol>
        <xsl:for-each select="VDBTags.Line">
          <li>
            <xsl:for-each select="VDBTags.Word">
              <span style="color:{@WC};font:{@WF}">
                <xsl:value-of select="@WT"/>
              </span>
            </xsl:for-each>
          </li>
        </xsl:for-each>
      </ol>
  </div>
  </xsl:template>
</xsl:stylesheet>